package com.blb.service;

import com.blb.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tb
 * @since 2020-05-20
 */
public interface ICompanyService extends IService<Company> {

    Integer getCount();

    List<Company> getPages(@Param("start") Integer start, @Param("length") Integer length
            , @Param("companyRole") String companyRole, @Param("createUser") String createUser, @Param("companyName") String companyName,
                              @Param("companyStatus") String companyStatus);

    Company selectByCompanyName(String companyName);
}
